package com.xjwn.datasync.pojo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import org.springframework.scheduling.support.SimpleTriggerContext;

import java.time.LocalDateTime;

@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("datasync")
public class Datasync extends Model<Datasync> {


   @TableId
   //连接名称
   private  String params;
   //数据库地址
   private String kssj;
   //数据库名称
   private String jssj;
   //状态 0正常 1报错
   private String time;
   //SQL语句
   private int cont;
   //日志内容
   private int succ;
   private int err;
   private int upd;
   private int isonce;
   private String uuid;
   private String proctext;

}